package cn.lycode.system.domain.entity;

import cn.lycode.common.core.domain.BaseEntity;
import cn.lycode.common.enums.TrueFalseEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Title: SysDept
 * @Author lyg
 * @Date 2024/7/16 15:18
 * @description: 部门
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysDept extends BaseEntity {
    private Long id;
    private String ancestors; //祖籍列表
    private Long pid; //父id
    private String deptName; //部门名称
    private Integer deptSort; //排序
    private Integer deep; //层级
    private TrueFalseEnum hasChildren; //是否锁定
    private TrueFalseEnum isLock; //是否锁定
    private String leader; //负责人
    private String mobile; //负责人手机号
    private String email; //负责人邮箱
}
